#windows 请安装scp

#!/bin/bash
    scp ./target/supplychainapi-*.jar root@10.10.10.177:/data/jboot_dir/supplychainAPI/app/app.jar;

ssh root@10.10.10.177 > /dev/null 2>&1 << eeooff
cd /data/jboot_dir/supplychainAPI
docker-compose restart
eeooff
echo done!